package com.mtao;


import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.groups.Default;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @program: ems-admin-boot
 * @description: this is a class
 * @author: starao
 * @create: 2021-11-27 13:27
 **/
@Data
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class SysRoleMenu{
    private Integer id;
    private Integer menuId;
    private Integer roleId;
    @JsonFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "YYYY-MM-DD HH:mm:ss")
    private LocalDateTime updateTime;

    public interface Add extends Default {

    }
    public interface Update extends Default{

    }
}
